package model {
	import flash.events.Event;

	public class ServiceEvent extends Event {
		private var data:XML;
		public static const RESULTMIRROR:String = "SE1";
		public static const RESULTSEARCH:String = "SE2";
        public static const RESULTTOP:String = "SE4";
        public static const RESULTTOPSERVER:String = "RT2";
		public static const RESULTRSS:String = "RSS";
		public static const RESULTID:String = "ID";
        public static const RESULTPLANNING:String = "PLA";
		
	
		public function ServiceEvent(type:String, d: XML, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			this.data = d;
		}
        override public function clone():Event {
            return new ServiceEvent(type, data, bubbles, cancelable);
        }
        public function getData():XML {
        	return data;
        }
	}
}